package com.ram.service;

import com.ram.pojo.Building;
import com.ram.pojo.BuildingDTO;
import com.ram.pojo.BuildingVO;
import com.ram.pojo.PageResult;
import java.util.List;

public interface BuildingService {
    List<Building> list();
    Building getById(Integer id);
    void add(Building building);
    void update(Building building);
    void deleteById(Integer id);

    // 分页+条件查询
    PageResult<BuildingVO> pageQuery(BuildingDTO dto);
} 